<div style="text-align:center;">
<{$lang._LANG_CURRENT_MILEAGE}><br />

<p style="color:green;font-weight:bold;text-align:center;">
<span style="font-size:200%;line-height:100%;"><{$totalPoint}></span><br />
<span style="font-size:60%;"><{$lang._LANG_MILE_UNIT}></span>
</p>

<{foreach item=mile from=$miles}>
  <{if $mile->canGetPoint}>
    <form action="<{$smarty.const.XOOPS_URL}>/modules/<{$dirname}>/index.php?action=RecEdit" method="post" style="margin:10px;border:1px outset red;color:#900;padding:6px;background:#FEF;">
    <b><{$mile->getShow('name')}></b><br />
    <{$mile->getShow('point')}> <{$lang._LANG_MILE_UNIT}>
    <hr />
    <{$lang._LANG_CAN_GET_POINT}>
    <{xoops_token form=$actionForm}>
    <{xoops_input type=hidden name=access_uri value=$access_uri}>
    <{xoops_input type=hidden name=mile_id value=$mile->get('mile_id')|intval}>
    <{xoops_input type=hidden name=rec_id value=0}>
    <{xoops_input type=hidden name=uid value=0}>
    <{xoops_input type=hidden name=reg_unixtime value=0}>
    <{xoops_input type=hidden name=point value=$mile->get('point')|intval}>
    <{xoops_input type=hidden name=dirname value=$dirname}>
    <input type="submit" value="<{$lang._LANG_GET_MILE}>" />
    </form>
  <{/if}>
<{/foreach}>

<a href="<{$dirname|mileage_make_uri}>"><{$lang._LANG_YOUR_MILEAGE_LIST}></a>

</div>